package com.eddie.adapter.interfaceadpater;

/**
 * 测试类
 *
 * @author Eddie
 * @date 2022/07/29 09:26
 **/
public class Client {
    public static void main(String[] args) {
        AbsADPater absADPater = new AbsADPater() {
            //只需要去覆盖需要使用的接口方法
            @Override
            public void m1() {
                System.out.println("使用了M1的方法");
            }
        };
        absADPater.m1();
    }
}
